{include file="public/header" /}

<body>
    <div class="layui-fluid">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-body ">
                        <blockquote class="layui-elem-quote">
                            欢迎使用:{:env('app.name')}系统 ！
                            管理员：{$admin.nickname}！
                            上次登陆时间:{$admin.updated|date='Y-m-d H:i:s'}
                        </blockquote>
                        <form class="layui-form layui-col-space5">
                            <input type="hidden" name="export" value="2" />
                            <div class="layui-inline layui-show-xs-block">
                            <button class="layui-btn" lay-submit="" lay-filter="sreach">导出报表</button>
                        </div>
                        </form>
                    </div>
                </div>
            </div>

            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header">数据统计</div>
                    <div class="layui-card-body ">
                        <ul class="layui-row layui-col-space10 layui-this x-admin-carousel x-admin-backlog">
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>平台剩余总锁仓数量</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.locknum}JTE</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>JSR数量</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.equity}JSR</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3 style="overflow:hidden">总锁仓价值（根据锁仓时价格计算）</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.lockmoney}USDT</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>静态累计释放</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.allsfthree}JTE</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>动态累计释放</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.allsffive}JTE</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>订单手续费计总</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.orderfee}JTE</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>提币|互转手续费计总</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.widhandfee}JTE</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>社区长总数</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.isagent}人</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>合伙人总数</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.ispartner}人</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>有效合伙人总数</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.partpeopele}人</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>有效社区长总数</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.agentpeople}人</cite></p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>平台今日新增会员</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.todayuser}人</cite></p>
                                </a>
                            </li>
                            <hr/>
                            {if !empty($totals)}
                            {foreach $totals as $k => $total}
                            {if $k < 4} <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <p><cite>{$total.name}统计</cite></p>
                                    <hr />
                                    <button type="button"
                                        class="layui-btn  layui-btn-fluid  layui-btn-normal">可用币种总数:{$total.total}个</button>
                                    <hr />
                                    <button type="button"
                                        class="layui-btn  layui-btn-fluid layui-btn-danger">冻结币种总数:{$total.freezetotal}个</button>
                                </a>
                                </li>
                                {/if}
                                {/foreach}
                                {/if}
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>
</body>

</html>